package day1128;

import java.util.Scanner;

public class T7 {
    public static void main(String[] args) {
        //1.
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入一个int数值，表示今年的年份:");
        int year=sc.nextInt();
        //2.
        if(year%400  ==  0 ){
            System.out.println("今年是世纪闰年");
        }else if(year%4  ==  0 && year%100  !=  0){
            System.out.println("今年是普通闰年");
        }else{
            System.out.println("今年不是闰年");
        }









    }
}
